package org.dromara.tearoom.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.tearoom.domain.TerRoomDetails;

import java.io.Serial;

/**
 * 茶室详情业务对象 ter_room_details
 *
 * @author xch
 * @date 2025-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerRoomDetails.class, reverseConvertGenerate = false)
public class TerRoomDetailsBo extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 茶室唯一id
     */

    private Long id;

    /**
     * 茶室人数规格
     */
    @NotBlank(message = "茶室人数规格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teroomPepnum;

    /**
     * 茶室名称
     */
    @NotBlank(message = "茶室名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teroomName;

    /**
     * 茶室电话
     */
    private String teroomPhone;

    /**
     * 每小时单价（h）
     */
    @NotNull(message = "每小时单价（h）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double teroomHprice;

    /**
     * 最少预定时间（h）
     */
    @NotNull(message = "最少预定时间（h）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Float teroomNum;

    /**
     * 茶室图片路径
     */
    @NotBlank(message = "茶室图片路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String teroomImgurl;

    /**
     * 轮播图
     */
    private String carouselImages;

    /**
     * 内容介绍
     */
    private String contentIntro;



    /**
     * 删除标识
     */
    private String delFlag;

    private Long groupId;



    private String groupName;

    private String status;

    private String teroomTarget;
    private String teroomLatitude;
    private String teroomLongitude;

    private String startTime;
    private String endTime;
    private Integer orderNum;

    /**
     * WIFI名称
     */
    private String wifiName;

    /**
     * WIFI密码
     */
    private String wifiPassword;
}
